package com.example.servicefeign.feiservice;

import com.example.servicefeign.configuration.FeignConfiguration;
import com.example.servicefeign.hytric.SchedualServiceHiHystric;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * D version springcloud 断路器 的配置在yml必须顶行写
 */
@FeignClient(value = "store", fallback = SchedualServiceHiHystric.class,configuration = FeignConfiguration.class)
public interface SchedualServiceHi {
   @RequestMapping(value = "/")
   String home();

}
